package com.teach.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String account;
    private String password;
    private Integer status;
    @TableField(exist = false)
    private Long roleId;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String page;
    @TableField(exist = false)
    private String className;
    @TableField(exist = false)
    private Long classId;
    @TableField(exist = false)
    private Long courseId;
    @TableField(exist = false)
    private String courseName;
    @TableField(exist = false)
    private Integer num;
}
